package cn.nextProject.mapper;

import cn.nextProject.entity.UserRoleGroup;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserRoleGroupMapper {

    UserRoleGroup findOne(@Param("roleGroupId") Long roleGroupId, @Param("username") String username,@Param("realname") String realname);

    void saveBatch(List<UserRoleGroup> userRoleGroupList);

    void delete(@Param("id")Long id);
}
